<template>
  <div id="my-map"></div>
</template>

<script>
import { TCesium } from "./TCesium";
export default {
  name: "HomeView",
  methods: {
    init() {
      this.mapObject = new TCesium("my-map"); // 注意，这个my-map就是我们div的id
     
    },
  },
  mounted() {
    console.log(28, Cesium);
    this.init();
  },
};
</script>

<style scoped>
#my-map {
  width: 100%;
  height: 100%;
  background-color: black;
}
</style>
